package com.aspose.cells.a.d.a;

import java.util.BitSet;

public class zd {
   private BitSet a = new BitSet();
   private int b;

   public int a() {
      int var1 = this.d();
      this.a.set(var1);
      if (var1 > this.b) {
         this.b = var1;
      }

      return var1;
   }

   public int a(int var1) {
      this.a.clear(var1);
      return var1;
   }

   private int d() {
      int var1;
      for(var1 = 1; this.a.get(var1); ++var1) {
         ;
      }

      return var1;
   }

   public int b() {
      return this.a.length() - 1;
   }

   public int c() {
      return this.b + 1;
   }
}
